/**
 * Created by HUANGFR2 on 8/11/2016.
 */
(function ($) {
    "use strict";
    $(document).ready(function () {
        $("#menu-panel").mouseenter(function () {
            $('.menu-container').animate({width: '250px'});
            $(this).removeClass('menu-close');
            $('.operation-container').animate({'margin-left': '260px'});
        });
        $("#menu-panel").mouseleave(function () {
            $(this).addClass('menu-close');
            $('.menu-container').animate({width: '43px'});
            $('.operation-container').animate({'margin-left': '55px'});
        });
    });
}(jQuery));